<template>
    <div>
        <div class="tag" v-for="item in list" :key="item.id3">
            {{item.name}}
        </div>
    </div>
</template>

<script>
export default {
    name: 'ListTag',
    props: {
        list: Array
    }
}
</script>

<style scoped>
    .tag {
        line-height: 35px;
        background-color: #eee;
        padding: 4px 0 0 10px;
        border-radius: 10px;
        text-align: center;
        margin-bottom: 2px;
    }
</style>